//
//  PBOrderSuccessCell.m
//  PBHomeDemo
//
//  Created by Playboy on 2018/1/30.
//  Copyright © 2018年 tmkj. All rights reserved.
//

#import "PBOrderSuccessCell.h"
#import "PBMyDeputeController.h"

@interface PBOrderSuccessCell ()
@property (strong, nonatomic) IBOutlet UIButton *lookOrderButton;
@property (strong, nonatomic) IBOutlet UIButton *continueFindButton;

@end

@implementation PBOrderSuccessCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization codes
    self.lookOrderButton.layer.borderWidth = 1.0f;
    self.lookOrderButton.layer.borderColor = [UIColor tm_LabelTextColor].CGColor;
    self.lookOrderButton.layer.cornerRadius = 20;
    self.lookOrderButton.layer.masksToBounds = YES;
    self.continueFindButton.layer.borderWidth = 1.0f;
    self.continueFindButton.layer.borderColor = [UIColor tm_mainOrignColor].CGColor;
    self.continueFindButton.layer.cornerRadius = 20;
    self.continueFindButton.layer.masksToBounds = YES;
}
// 查看预约
- (IBAction)lookButtonClick:(UIButton *)sender {
    PBMyDeputeController *vc = [[PBMyDeputeController alloc] init];
    [self.jumpVC.navigationController pushViewController:vc animated:YES];
}

// 继续看房
- (IBAction)findButtonClick:(UIButton *)sender {
    [self.jumpVC.navigationController popToRootViewControllerAnimated:YES];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
